﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace Meraz.Core.Net
{
    public class LogHelper
    {
        public static string GenerateFileName(string filename, DateTime date)
        {
            return Path.Combine(Path.GetDirectoryName(filename), Path.GetFileNameWithoutExtension(filename) + "_" + date.ToString("yyyyMMdd") + Path.GetExtension(filename));
        }
    }
}
